package dreamtwodancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceUserElementReleaseLog struct {
	Id              int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:临时用的，测试阶段，记录用户信息得，后面要删除掉"`
	BarrageOpenId   string         `json:"barrageOpenId" gorm:"column:barrage_open_id;type:varchar(255);not null;default:'';comment: 抖音用户id"`     //
	BarrageNickname string         `json:"barrageNickname" gorm:"column:barrage_nick_name;type:varchar(255);not null;default:'';comment: 抖音用户昵称"` //
	IssueTime       int64          `json:"issueTime" gorm:"column:issue_Time;type:bigint;default:0;not null;comment:道具发放时间"`
	ElementNo       int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:散件id"`       //
	IssuanceType    int64          `json:"issuanceType" gorm:"column:issuance_type;type:bigint;default:0;not null;comment:发放途径"` //1:单人排行榜脚本发放的;2:双人排行榜发放
	Number          int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:道具发放数量"`
	CreatedAt       time.Time      `json:"createdAt" gorm:"column:created_at;type:datetime"`
	UpdatedAt       time.Time      `json:"updatedAt" gorm:"column:updated_at;type:datetime"`
	DeletedAt       gorm.DeletedAt `json:"-" gorm:"index;type:datetime"`
}
